package com.hnichr.ump.common.talent.library.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Index;
import javax.persistence.Table;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper=false)
@Entity
@Table(name = "t_talent_education_info",indexes = {@Index(columnList = "USER_ID_")})
@Schema(description = "人才库-教育经历")
public class EducationInfo extends Talent {
    /**
     * 学位 1 学士 2 硕士 3 博士
     */
    @Column(name = "DEGREE_")
    @Schema(description = "学位")
    private String degree;

    /**
     * 是否全日制 1 是 2 不是
     */
    @Column(name = "FULL_TIME_")
    @Schema(description = "是否全日制")
    private String fullTime;

    /**
     * 学校名称
     */
    @Column(name = "SCHOOL_NAME_")
    @Schema(description = "学校名称")
    private String schoolName;

    /**
     * 最高学历 0 初中  1 高中 2 中专/中技 3 大专 4 本科 5 研究生 6 MBA/EMBA 7 博士
     */
    @Column(name = "EDU_LEVEL_")
    @Schema(description = "最高学历")
    private Integer eduLevel;

    /**
     * 2020.12.30修改为0统招1非统招2海外留学
     * 是否统招 true是 false不是
     */
    @Column(name = "RECRUITMENT_FLAG_")
    @Schema(description = "统招标识")
    private Integer recruitmentFlag;

    /**
     * 院校性质 0普通大学 1 211院校 2 985院校
     */
    @Column(name = "SCHOOL_LEVEL_")
    @Schema(description = "院校性质")
    private Integer schoolLevel;

    /**
     * 专业
     */
    @Column(name = "MAJOR_")
    @Schema(description = "专业")
    private String major;

    /**
     * 就读开始时间
     */
    @Column(name = "START_TIME_")
    @Schema(description = "就读开始时间")
    private Date startTime;

    /**
     * 毕业时间
     */
    @Column(name = "END_TIME_")
    @Schema(description = "毕业时间")
    private Date endTime;

    /**
     * 简历id
     */
    @Column(name = "RESUME_ID_")
    @Schema(description = "简历id")
    private String resumeId;
}
